#include <stdio.h>

int singleNumber(int* nums, int numsSize)
{
    int n = 0;
    for(int i = 0;i < numsSize;i++)
    {
        for(int j = 0;j < numsSize;j++)
        {
            if(nums[i] == nums[j] && i != j)
            {
                break;
            }
            if(j == numsSize - 1 )
            {
                return n = nums[i];
            }
           
        }
        
    }
}

int main()
{
    int nums[] = {1,2,1,3,2};
    int numsSize = sizeof(nums)/sizeof(nums[0]);
   printf("%d\n",singleNumber(nums,numsSize)) ;
    return 0;
}